<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

<form action="{% url 'log' %}"method="post">
    用户名<input type="text" name="user">
    密 码 <input type="text" name="pwd">
    <input type="submit">
</form>


</body>
</html>